package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.HyrjLaundryPatternMapper;
import com.ruoyi.system.domain.HyrjLaundryPattern;
import com.ruoyi.system.service.IHyrjLaundryPatternService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
@Service
public class HyrjLaundryPatternServiceImpl implements IHyrjLaundryPatternService 
{
    @Autowired
    private HyrjLaundryPatternMapper hyrjLaundryPatternMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public HyrjLaundryPattern selectHyrjLaundryPatternById(Long id)
    {
        return hyrjLaundryPatternMapper.selectHyrjLaundryPatternById(id);
    }

    @Override
    public HyrjLaundryPattern selectHyrjLaundryPatternByLaundryPattern(String laundryPattern) {
        return hyrjLaundryPatternMapper.selectHyrjLaundryPatternByLaundryPattern(laundryPattern);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param hyrjLaundryPattern 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<HyrjLaundryPattern> selectHyrjLaundryPatternList(HyrjLaundryPattern hyrjLaundryPattern)
    {
        return hyrjLaundryPatternMapper.selectHyrjLaundryPatternList(hyrjLaundryPattern);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param hyrjLaundryPattern 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertHyrjLaundryPattern(HyrjLaundryPattern hyrjLaundryPattern)
    {
        return hyrjLaundryPatternMapper.insertHyrjLaundryPattern(hyrjLaundryPattern);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param hyrjLaundryPattern 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateHyrjLaundryPattern(HyrjLaundryPattern hyrjLaundryPattern)
    {
        return hyrjLaundryPatternMapper.updateHyrjLaundryPattern(hyrjLaundryPattern);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteHyrjLaundryPatternByIds(Long[] ids)
    {
        return hyrjLaundryPatternMapper.deleteHyrjLaundryPatternByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteHyrjLaundryPatternById(Long id)
    {
        return hyrjLaundryPatternMapper.deleteHyrjLaundryPatternById(id);
    }
}
